package tech.aistar.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import tech.aistar.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
public interface IUserService extends IService<User> {
    // 根据名称精确查询
    public User getByName(String username);
    public List<User> getLikeUser(String username);

    // 分页查询
    public Page<User> getByPage(Integer pageNum);
}
